/************************************************
 *** Datei: main.cpp
 ***
 *** Erstellt am: 03.09.2012
 ***       Autor: Max Stark <Max.Stark88@googlemail.com>
 ***	 Version: 1.0
 ***
 *** Beschreibung:
 *** <hier Beschreibung einfuegen>
 ************************************************/

#include <logic/DroneSwarmController.h>
#include <ARDroneV1.h>
#include "DroneSwarmUI.h"

int main(int argc, char *argv[]) {

    ARDroneV1* drone = new ARDroneV1();
    DroneSwarmController* dsController = new DroneSwarmController(drone);
    DroneSwarmUI* ui = new DroneSwarmUI(dsController->getUIController());

    dsController->run();
    ui->run();
    delete ui;
    dsController->stop();

    delete dsController;
    delete drone;

    return 0;
}

